package com.test;

import java.awt.Container;

import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JLabel;

class MyJDialog extends JDialog{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public MyJDialog(MyTankGame frame){
       
        super(frame,"Help",true);
        this.setSize(925,350);
        this.setLocationRelativeTo(frame);
        ImageIcon img = new ImageIcon("res/clavier.jpg");
        Container container=getContentPane();
        container.add(new JLabel(img));
        
    }
}
